<template>
  <div class="page">
    <van-button
      class="default"
      type="primary"
      clickMusic='true'
      @click='effectOn'
    >播放音效</van-button>
    <van-button
      class="default"
      @click="backHome"
      type="primary"
    >返回首页</van-button>
  </div>
</template>

<script>
export default {
  name: 'soundeffect',
  data () {
    return {
    }
  },
  methods: {
    effectOn () {
      this.clickButton();
    },
    backHome () {
      this.$router.replace({ name: 'home' });
    }
  }
}
</script>

<style lang="less" scoped>
.default {
  margin-right: 0.3rem;
}
</style>

